import { NbMenuItem } from '@nebular/theme';

export const MENU_ITEMS: NbMenuItem[] = [
  {
    title: 'Dashboard',
    icon: 'nb-home',
    link: '/pages/dashboard',
    home: true,
  },
  {
    title: '学习园地',
    icon: 'nb-compose',
    children: [
      {
        title: '课程管理',
        link: '/pages/learn/course',
      },
      {
        title: '我的试卷',
        link: '/pages/learn/mypaper',
      },
      {
        title: '我的成绩',
        link: '/pages/learn/myscore',
      },
      {
        title: '历史试卷',
        link: '/pages/learn/myhispaper',
      },
    ],
  },
  {
    title: '考试管理',
    icon: 'nb-sunny',
    children: [
      {
        title: '题库管理',
        link: '/pages/exam/qbank',
      },
      {
        title: '试题管理',
        link: '/pages/exam/question',
      },
      {
        title: '试题导入',
        link: '/pages/exam/importquestion',
      },
      {
        title: '试卷管理',
        link: '/pages/exam/paper',
      },
      {
        title: '成绩管理',
        link: '/pages/exam/achievement',
      },
      {
        title: '成绩统计',
        link: '/pages/exam/statistics',
      },
    ],
  },
  {
    title: '系统管理',
    icon: 'nb-gear',
    children: [
      {
        title: '用户管理',
        link: '/pages/sys/user',
      },
      {
        title: '角色管理',
        link: '/pages/sys/role',
      },
      {
        title: '配置管理',
        link: '/pages/sys/config',
      },
      {
        title: '个人信息',
        link: '/pages/sys/profile',
      },
    ],
  },
  {
    title: '权限管理',
    icon: 'nb-locked',
    children: [
      {
        title: '登陆',
        link: '/auth/login',
      },
      {
        title: '注册',
        link: '/auth/register',
      },
      {
        title: '忘记密码',
        link: '/auth/request-password',
      },
      {
        title: '重置密码',
        link: '/auth/reset-password',
      },
    ],
  },
];
